/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2112                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     simpleFoam;

startFrom       latestTime;

startTime       0;

stopAt          endTime;

endTime         50;

deltaT          0.01;

writeControl    timeStep;

writeInterval   1;

purgeWrite      1;

writeFormat     ascii;

writePrecision  8;

writeCompression off;

timeFormat      general;

timePrecision   8;

runTimeModifiable true;

functions
{   
    forces
            {
                type            forceCoeffs;
                libs            ("libforces.so");
                writeControl    timeStep;
                writeInterval   1;

                patches         (wallRiblet);
                rho             rhoInf;      // Indicates incompressible
                log             true;
                rhoInf          998;           // Redundant for incompressible
                liftDir         (0 1 0);
                dragDir         (1 0 0);
                CofR            (0 0 0);  // Axle midpoint on ground
                pitchAxis       (0 1 0);
                magUInf         0.1;
                lRef            1;        // Wheelbase length
                Aref            0.01924815;        // 
            }
            
    wallShearStress
            {
		#include "wallShearStress"
            }
            
    residuals
            {
                #include "residuals"
            }
}


// ************************************************************************* //
